//
//  AddressModel.swift
//  EyeVisionForPatients
//
//  Created by QDSG on 2020/2/25.
//  Copyright © 2020 tao Tao. All rights reserved.
//

import HandyJSON

struct AddressModel: HandyJSON {
    var areaName: String = ""
    var id: String = ""
    var children: [AddressModel] = []
}

struct AddressInfoModel: HandyJSON {
    // 省
    var provinceName = ""
    var provinceId = ""
    var provinceSelectedIndexPath = IndexPath(row: 0, section: 0)
    
    // 市
    var cityName = ""
    var cityId = ""
    var citySelectedIndexPath = IndexPath(row: 0, section: 0)
    
    // 区
    var areaName = ""
    var areaId = ""
    var areaSelectedIndexPath = IndexPath(row: 0, section: 0)
}

